package com.zy.bootdemo.mapper;

import com.zy.bootdemo.entity.CustomerEntity;
import com.zy.bootdemo.entity.RoomEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper

public interface CustomerMapper {
    List<CustomerEntity> selectAll();
    int insertOne(@Param("cName")String cName, @Param("cNum") String cNum, @Param("cPhone") String cPhone, @Param("rNum") Integer rNum);
    CustomerEntity selectOne(@Param("id") Integer id);

    int delOne(@Param("id") Integer id);
}
